package org.lifei.base.mapper;


import org.lifei.base.query.BaseQuery;
import org.lifei.org.query.Departmentquery;


import java.io.Serializable;
import java.util.List;

public interface BaseMapper<T> {
    void insert(T t);
    void delete(Serializable id);
    void update(T t);
    //批量删除
    void batchDelete(List<String> ids);
    T queryOne(Serializable id);
    List<T> queryAll();
    List<T> queryList(BaseQuery baseQuery);
    long queryTotal(BaseQuery baseQuery);
}
